package com.psl.action.work.waixie;

import com.psl.services.work.waixie.wxbj;
import org.apache.struts2.ServletActionContext;

import javax.servlet.http.HttpServletRequest;

public class wxupdate
{
  public String execute()
  {
    HttpServletRequest request = ServletActionContext.getRequest();
    int id = Integer.parseInt(request.getParameter("id"));
    int h_receipt = Integer.parseInt(request.getParameter("h_receipt"));
    String h_receipttime = request.getParameter("h_receipttime");
    wxbj bj = new wxbj();
    bj.update(id,h_receipt,h_receipttime);
    bj.wxbj();
    return "success";
  }
}
